package com.qzw.security.api.service;

import com.qzw.common.api.base.BaseService;
import com.qzw.security.api.model.Resource;
import com.qzw.security.api.query.ResourceQuery;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * @author ：quziwei
 * @date ：Created in 2020/6/2 12:00 下午
 * @description：
 */
public interface IResourceService extends BaseService<Resource,Integer, ResourceQuery> {
    Map<String, Set<String>> findResourcePermissions();

    void permissionEdit(Integer resourceId, List<Integer> permissionIds);
}
